﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace AutoAllocService.Map.Models
{
    public class DriverEntity
    {
        [JsonProperty("entity_name")]
        public string EntityName { get; set; }

        [JsonProperty("modify_time")]
        public DateTime ModifyTime { get; set; }

        [JsonProperty("create_time")]
        public DateTime CreateTime { get; set; }

        [JsonProperty("latest_location")]
        public LocationEntity LatestLocation { get; set; }
    }

    public class EntityResult : BaiduResult
    {
        [JsonProperty("entities")]
        public List<DriverEntity> Entities { get; set; }
    }
}
